package com.picture.server

class Contact {

    String name
    String email

    static belongsTo = [user: User]

    static constraints = {
        name(nullable: false, blank: false)
        email(nullable: false, blank: false, email: true)
    }
}
